GBML manual / Constants

COLOR_MAGENTA

The color Magenta, for draw_rect_fill and draw_rect.

Syntax

COLOR_MAGENTA: constant

Description

Names magenta, for draw_rect_fill - a bright, unmissable choice for a debug marker.

Example

draw_rect_fill(x - 2, y - 2, 4, 4, COLOR_MAGENTA);

A small magenta square centered on this instance - handy dropped into a Step or Draw event while tracking down exactly where a value ends up on screen, then deleted once the bug is found.

See also: draw_rect_filldraw_rect